package com.scs.application.modules.wm.service;

import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.wm.entity.Stock;
import com.scs.application.modules.wm.entity.StockProcessLog;

import java.util.List;

/**
 * <p>
 *  Service
 * </p>
 */

public interface StockProcessLogService extends IBaseService<StockProcessLog> {

    /**
     * 保存加工历史记录
     * @param stockList
     * @param sourceStockId
     */
    void saveProcessLog(List<Stock> stockList, String sourceStockId);

    List<StockProcessLog> getStockByLineId(String lineId);
}
